package wowraidmanager.client.service.wishlist;

import java.util.ArrayList;

import wowraidmanager.shared.model.wishlist.Member;

import com.google.appengine.api.datastore.Key;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface MemberServiceAsync{

    void setMember(Member member, AsyncCallback<Void> callback);

    void setMember(ArrayList<Member> memberList, AsyncCallback<Void> callback);

    void getMember(String memberAccount, AsyncCallback<ArrayList<Member>> callback);

    void getAllMember(AsyncCallback<ArrayList<Member>> callback);

    void getAllMember(Member currentMember, AsyncCallback<ArrayList<Member>> callback);

    void getMemberbyKey(String targetUser, AsyncCallback<Member> callback);

    void deleteMemberbyKey(String targetUser, AsyncCallback<Void> callback);

    void getKeyById(String targetUser, AsyncCallback<Key> callback);

}
